package com.bwda.dsrs.filecenter.service.impl;

import com.bwda.dsrs.filecenter.domain.condition.home.HomeCountCondition;
import com.bwda.dsrs.filecenter.domain.vo.HomeCountVo;
import com.bwda.dsrs.filecenter.mapper.dsrs.HomeCountMapper;
import com.bwda.dsrs.filecenter.service.HomeCountService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
/**
 * @author Administrator
 */
@Service
public class HomeCountServiceImpl extends BaseServiceImpl<HomeCountVo, HomeCountCondition, HomeCountMapper> implements HomeCountService {
    private static Logger logger = LoggerFactory.getLogger(HomeCountServiceImpl.class);

    @Resource
    private HomeCountMapper homeCountMapper;

    @Override
    public List<HomeCountVo> selectDbTypeCount() {
        return homeCountMapper.selectDbTypeCount();
    }

    @Override
    public List<HomeCountVo> selectLevelCount() {
        return homeCountMapper.selectLevelCount();
    }

    @Override
    public List<HomeCountVo> selectLevelTypeCount() {
        return homeCountMapper.selectLevelTypeCount();
    }

    @Override
    public List<HomeCountVo> selectDbInfoTypeCount() {
        return homeCountMapper.selectDbInfoTypeCount();
    }

    @Override
    public List<HomeCountVo> selectWordIdCount() {
        return homeCountMapper.selectWordIdCount();
    }

    @Override
    public int queryLevelCount(Long taskId, Long taskHistoryId) {
        return homeCountMapper.queryLevelCount(taskId,taskHistoryId);
    }

    @Override
    public int querySensLabelCount(Long taskId, Long taskHistoryId) {
        return homeCountMapper.querySensLabelCount(taskId,taskHistoryId);
    }

    @Override
    public List<HomeCountVo> queryLevelsCount(Long taskId, Long taskHistoryId) {
        return homeCountMapper.queryLevelsCount(taskId,taskHistoryId);
    }

    @Override
    public List<HomeCountVo> queryLevelTypeCount(Long taskId, Long taskHistoryId) {
        return homeCountMapper.queryLevelTypeCount(taskId,taskHistoryId);
    }

    @Override
    public List<HomeCountVo> queryWordIdCount(Long taskId, Long taskHistoryId) {
        return homeCountMapper.queryWordIdCount(taskId,taskHistoryId);
    }
}